for (i = 0; i<high;i++)
{
	for (j = 0;j<width;j++)
	{
		if((i == ball_x)&&(j == ball_y))
		printf("0");
		else 
		printf(" ");
	}
	printf("\n");
}
}
void updateWithoutInput()
{
	ball_x = ball_x + ball_vx;
	ball_y = ball_y + ball_vy;
	if((ball_x==0)||(ball_x==high-1))
	ball_vx = -ball_vx;
	if((ball_y==0)||(ball_y==width-1))
	ball_vy = -ball_vy;
	sleep(50);
 } 
 void updateWithInput() 
 {
  } 
  int main()
  {
  	startup();
    while(1) 
	{
		show();
		updateWithoutInput();
		updateWithInput();
	 } 
	 return 0;
  }
